<!--#begin list -->

<table align="center" border="0" cellpadding="2" cellspacing="0" width="95%">
    <tbody>
        <tr>
            <td align="center" valign="middle">
                <table align="center" border="0" cellpadding="5" cellspacing="0" width="100%">
                    <tbody>                  
                        <tr>
                            <td class="BabSiteAdminTitleFontBackground" nowrap="nowrap" valign="middle" width="10%">{ classroomNameLabel }</td>
                            <td class="BabSiteAdminTitleFontBackground" nowrap="nowrap" valign="middle" width="10%">{ capacityLabel }</td>
                            <td class="BabSiteAdminTitleFontBackground" nowrap="nowrap" valign="middle" width="10%">{ videoprojectorLabel }</td>
                            <td class="BabSiteAdminTitleFontBackground" nowrap="nowrap" valign="middle" width="1%"></td>
                        </tr>
                        <!--#in nextBuilding -->
                        <tr bgcolor="#D4F8F8">
                            <td nowrap="nowrap" valign="middle" colspan="4">{ building[name] }</td>
                        </tr>
                        <!--#in nextClassroom -->
                        <tr>
                            <td nowrap="nowrap" valign="middle">{ classroom[name] }</td>

                            <td nowrap="nowrap" valign="middle">{ classroom[capacity] }</td>
                            <!--#if classroom[videoprojector] "== 1" -->
                            <td nowrap="nowrap" valign="middle">Oui</td>
                            <!--#else classroom[videoprojector] -->
                            <td nowrap="nowrap" valign="middle">Non</td>
                            <!--#endif classroom[videoprojector] -->
                             <td><a href="{ babAddonUrl }user&idx=classroom&do=deleteClassroom&idClassroom={ classroom[id] }" onclick="return(confirm('Etes-vous sûr de vouloir supprimer cette entree?'));"><img src="{ babSkinPath }images/Puces/del.gif"/></a></td>
                        </tr>
                        <!--#endin nextClassroom -->
                        <!--#endin nextBuilding -->
                        
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>
<!--#end list -->

<!--#begin addClassroom -->
<form name="addClassroom" method="post" action="{ babPhpSelf }">
    <input type="hidden" name="tg" value="{ babAddonTarget }/user">
    <input type="hidden" name="idx" value="classroom">

    <table width="50%" border="0" cellspacing="0" cellpadding="2" align="center">
        <tr>
            <td class="BabLoginCadreBackground" align="center" valign="middle">
                <table class="BabLoginMenuBackground" width="100%" border="0" cellspacing="0" cellpadding="2" align="center">         
                    <tr> 
                        <td align="right">{ classroomNameLabel }<span class="mandatory_star" style="color:red">*</span>:</td>
                        <td><input type="text" name="classroomName" size="30" maxlength="60"></td>
                    </tr>
                    <tr> 
                        <td align="right">{ buildingNameLabel }<span class="mandatory_star" style="color:red">*</span>:</td>
                        <td>
                            <select name="classroomID">
                                <!--#in nextClassroom -->
                                <option value="{ classroom[id] }">{ classroom[name] }</option>
                                <!--#endin nextClassroom -->
                            </select>
                        </td>
                    </tr>
                    <tr> 
                        <td align="right">{ capacityLabel }<span class="mandatory_star" style="color:red">*</span>:</td>
                        <td><input type="text" name="capacityClassroom" size="30" maxlength="60"></td>
                    </tr>
                    <tr> 
                        <td align="right">{ videoprojectorLabel }<span class="mandatory_star" style="color:red">*</span>:</td>
                        <td><input type=checkbox name="videoProjector" ></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center"><input type="submit" name="addClassroomSubmit" value="{ addClassroomButton }"></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</form>
<!--#end addClassroom -->